package com.lanou3g.ptp.taskstudent.service;

import com.lanou3g.ptp.entity.TaskRole;
import com.lanou3g.ptp.entity.TaskStudent;

import java.util.ArrayList;
import java.util.List;


public interface TaskStudentService {


List<TaskStudent> findAll(Integer page ,Integer size);

TaskStudent findById(Long id);

void insert(ArrayList<TaskStudent> taskStudents);

void update(Long id,TaskStudent taskStudent);

void delete(Long id);

void deletes(Long[] ids);

void deleteByTaskId(Long taskId);

void deletesByTaskIds(Long[] ids);

ArrayList<Long> findByTaskId(Long id);

List<TaskStudent> findAllByStudentId(Long studentId);
}
